package com.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.demo.bean.TestUser;

/**
 * @author alex
 */
@Mapper
public interface UserMapper {

	/**
	 * select
	 * @return list
	 */
	public List<TestUser> getUser();

	/**
	 * insert
	 * @param testUser user
	 * @return int
	 */
	public int insertUser(TestUser testUser);

	/**
	 * add
	 * @param testUser user
	 * @return int
	 */
	public int updateUser(TestUser testUser);

	/**
	 * deleteUserById
	 * @param id id
	 * @return int
	 */
	public int deleteUserById(String id);

}
